<html lang="zh-cn">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>{:get_config('site_name')} - 后台登录</title>
        {load href="/static/css/mian.css,/static/css/layui.css,/static/css/bootstrap.css,/static/js/jquery.min.js,/static/js/bootstrap.bundle.min.js,/static/js/mian.js,/static/js/layui.js" /}
        </head>
    <body>
        <div>
            <section class="el-container w-full h-screen bg-page login-wrap">
                <main class="el-main login-main items-center justify-center">
                    <div class="flex rounded-2xl overflow-hidden">
                        <div class="login flex flex-col w-[400px]  p-[40px]">
                            <h3 class="text-center text-2xl font-bold mb-[26px]">{:get_config('site_name')}_管理端</h3>
                            <form class="el-form el-form--default el-form--label-right" method="post" onsubmit="return do_login(this, '{:url('index')}')">
                                <div class="el-form-item is-required asterisk-left">
                                  <div class="el-form-item__content">
                                        <div class="el-input el-input-group el-input-group--prepend h-[40px] input-with-select">
                                            <!-- input -->
                                            <!-- prepend slot -->
                                            <div class="input-group mb-3">
                                                  <span class="input-group-text">
                                                    <i class="el-icon icon el-icon" style="color: var(--color); font-size: 16px;">
                                                    <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                                                        <path fill="currentColor" d="M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384zm0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512zm320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0z"></path>
                                                    </svg>
                                                </i>
                                                </span>
                                                  <input type="text" value="admin" name="name" class="form-control" placeholder="请输入您的账号">
                                                </div>
                                            <!-- append slot -->
                                           </div>
                                    </div>
                                </div>
                                <div class="el-form-item is-error is-required asterisk-left">
                                   
                                    <div class="el-form-item__content">
                                        <div class="el-input el-input-group el-input-group--prepend el-input--suffix h-[40px] input-with-select">
                                            <!-- input -->
                                            <!-- prepend slot -->
                                             <div class="input-group mb-3">
                                                  <span class="input-group-text">
                                                    <i class="el-icon icon el-icon" style="color: var(--color); font-size: 16px;">
                                                    <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                                                        <path fill="currentColor" d="M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32H224zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96z"></path>
                                                        <path fill="currentColor" d="M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32zm192-160v-64a192 192 0 1 0-384 0v64h384zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64z"></path>
                                                    </svg>
                                                </i>
                                                </span>
                                                  <input type="password" value="123456" name="password" class="form-control" placeholder="请输入您的密码">
                                                </div>
                                            
                                            <!-- append slot -->
                                           </div>
                                        </div>
                                </div>
                                
                                <div class="el-form-item is-error is-required asterisk-left">
                                   
                                    <div class="el-form-item__content">
                                        <div class="el-input el-input-group el-input-group--prepend el-input--suffix h-[40px] input-with-select">
                                            <!-- input -->
                                            <!-- prepend slot -->
                                             <div class="input-group mb-3">
                                                  <span class="input-group-text">
                                                   <i class="el-icon icon el-icon" style="color: var(--color); font-size: 16px;">
                                                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-card-image" viewBox="0 0 16 16">
                                                      <path d="M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/>
                                                      <path d="M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13zm13 1a.5.5 0 0 1 .5.5v6l-3.775-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12v.54A.505.505 0 0 1 1 12.5v-9a.5.5 0 0 1 .5-.5h13z"/>
                                                    </svg>
                                                </i>
                                                </span>
                                                  <input type="text" name="verify" class="form-control" placeholder="请输入您的验证码">
                                                </div>
                                            
                                            <!-- append slot -->
                                           </div>
                                        </div>
                                </div>
                                
                                  
                                <div class="el-form-item is-error is-required asterisk-left">
                                   
                                    <div class="el-form-item__content">
                                        <div class="el-input el-input-group el-input-group--prepend el-input--suffix h-[40px] input-with-select">
                                            <!-- input -->
                                            <!-- prepend slot -->
                                             <div class="input-group mb-3">
                                                  <span class="input-group-text" style="padding: 0 3px;">
                                                   <img src="{:captcha_src()}" alt="captcha" onclick="this.src=this.src+'?'" class="login-codeimg" id="codeimg" style="width: 108px;height: 35px;">
                                                </span>
                                                
                                                </div>
                                            
                                            <!-- append slot -->
                                           </div>
                                        </div>
                                </div>
                                
                                <div class="el-form-item asterisk-left">
                                   
                                    <div class="el-form-item__content">
                                        <button  type="submit" class="el-button el-button--primary  h-[40px] w-full">
                                           <span class="">登录</span></button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </main>
                
            </section>
        </div>
    </body>

</html>
